<div class="wrapper">
    <input type="hidden" name="id" value="#(model.id??)"/>
    <fieldset>
        <div class="widget">
            <div class="title"><img src="/bes/images/icons/dark/list.png" alt="" class="titleIcon"><h6>系统属性</h6>
            </div>
            <div class="formRow">
                <label>属性名称:</label>
                <div class="formRight">
                    <select class="validate[required]" name="optionId" id="optionId" value="#(model.optionId??)">
                        #for(option:optionList)
                        #if(option.id == optionId??-1)
                        <option class=" active-result" value="#(option.id)" selected="1">#(option.optionValue)</option>
                        #else
                        <option class=" active-result" value="#(option.id)">#(option.optionValue)</option>
                        #end

                        #end
                    </select>
                </div>
                <div class="clear"></div>
            </div>
            <div class="formRow">
                <label>值1</label>
                <div class="formRight"><input type="text" class="validate[required]" name="value1" id="value1"
                                              value="#(model.value1??)"/></div>
                <div class="clear"></div>
            </div>
            <div class="formRow">
                <label>值2（可以为空）</label>
                <div class="formRight"><input type="text" class="validate[required]" name="value2" id="value2"
                                              value="#(model.value2??'')"/></div>
                <div class="clear"></div>
            </div>
            <div class="formSubmit"><input type="submit" value="提交" class="redB"></div>
        </div>
    </fieldset>
</div>